package com.itheima01;

import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;

public class Homework4 {
    public static void main(String[] args) {
//        LocalDateTime time1=LocalDateTime.now();
//        System.out.println(time1);
//        DateTimeFormatter dtf=DateTimeFormatter.ofPattern("yyyy年MM月dd日");
        Date d1=new Date();
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy年MM月dd日HH时mm分ss秒");
        String s1=sdf.format(d1);
        System.out.println(s1);

    }
}
